
/*
 @create by hbxyxuxixiaodong
  bootstrap样式重置
*/
$buttonBgColor: #39b9c6;
$buttonHoverBgColor: #07a0a0;
$buttondefaultBgColor: #3f4b57;
$buttondefaultHoverBgColor: #303d47;
$buttonTextColor: #fff;
$formBgColor: #fff;
$buttonMarginRight: 1rem;
.btn {
  &:focus {
    outline: none;
    &:active {
      outline: none;
    }
  }
}
.form-horizontal.form-bgcolor {
  padding: 1.9rem 1rem 1rem 1rem;
}
.form-bgcolor {
  background-color: $formBgColor;
}
.col-padding {
  padding: 1.5rem;
}
.btn.btn-primary {
  background-color: $buttonBgColor;
  border-color: $buttonBgColor;

  &:focus {
    outline: 0;
  }
  &:hover {
    background-color: $buttonHoverBgColor;
    border-color: $buttonHoverBgColor;
  }
  &:active {
    outline: none;
    background-color: darken($buttonHoverBgColor, 5%);
    border-color: darken($buttonHoverBgColor, 5%);
  }
}
.btn.btn-default {
  background-color: $buttondefaultBgColor;
  border-color: $buttondefaultBgColor;
  color: $buttonTextColor;
  &:focus {
    outline: 0;
  }
  &:hover {
    background-color: $buttondefaultHoverBgColor;
    border-color: $buttondefaultHoverBgColor;
  }
  &:active {
    outline: none;
    color: $buttonTextColor;
    background-color: darken($buttondefaultHoverBgColor, 5%);
    border-color: darken($buttondefaultHoverBgColor, 5%);
  }
}
.form-control:focus {
  border-color: $buttonBgColor;
}
.btn-margin-1rem {
  margin-right: $buttonMarginRight;
}
.margin-bottom-1rem {
  margin-bottom: 1rem !important;
}
.no-padding-left {
  padding-left: 0;
}
a{
  color:$buttonBgColor;
  &:hover{
    color:darken($buttonBgColor,5%);
  }
  &.text-danger{
    color:#cb4a1c;
    &:hover{
      color:darken( #cb4a1c, 5%)
    }
  }
}
//动画
@-webkit-keyframes ball-spin-fade-loader {
  50% {
    opacity: 0.3;
    -webkit-transform: scale(0.4);
    transform: scale(0.4);
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}
.ball-spin-fade-loader {
  width: 200px;
  height: 200px;
  position: fixed;
  top: 50%;
  left: 50%;
  margin-top: -50px;
  margin-left: 0px;
}

.ball-spin-fade-loader > div {
  background-color: #42acf6 !important;
}

.ball-spin-fade-loader > div:nth-child(1) {
  top: 25px;
  left: 0;
  -webkit-animation: ball-spin-fade-loader 1s -0.96s infinite linear;
  animation: ball-spin-fade-loader 1s -0.96s infinite linear;
}

.ball-spin-fade-loader > div:nth-child(2) {
  top: 17.04545px;
  left: 17.04545px;
  -webkit-animation: ball-spin-fade-loader 1s -0.84s infinite linear;
  animation: ball-spin-fade-loader 1s -0.84s infinite linear;
}

.ball-spin-fade-loader > div:nth-child(3) {
  top: 0;
  left: 25px;
  -webkit-animation: ball-spin-fade-loader 1s -0.72s infinite linear;
  animation: ball-spin-fade-loader 1s -0.72s infinite linear;
}

.ball-spin-fade-loader > div:nth-child(4) {
  top: -17.04545px;
  left: 17.04545px;
  -webkit-animation: ball-spin-fade-loader 1s -0.6s infinite linear;
  animation: ball-spin-fade-loader 1s -0.6s infinite linear;
}

.ball-spin-fade-loader > div:nth-child(5) {
  top: -25px;
  left: 0;
  -webkit-animation: ball-spin-fade-loader 1s -0.48s infinite linear;
  animation: ball-spin-fade-loader 1s -0.48s infinite linear;
}

.ball-spin-fade-loader > div:nth-child(6) {
  top: -17.04545px;
  left: -17.04545px;
  -webkit-animation: ball-spin-fade-loader 1s -0.36s infinite linear;
  animation: ball-spin-fade-loader 1s -0.36s infinite linear;
}

.ball-spin-fade-loader > div:nth-child(7) {
  top: 0;
  left: -25px;
  -webkit-animation: ball-spin-fade-loader 1s -0.24s infinite linear;
  animation: ball-spin-fade-loader 1s -0.24s infinite linear;
}

.ball-spin-fade-loader > div:nth-child(8) {
  top: 17.04545px;
  left: -17.04545px;
  -webkit-animation: ball-spin-fade-loader 1s -0.12s infinite linear;
  animation: ball-spin-fade-loader 1s -0.12s infinite linear;
}

.ball-spin-fade-loader > div {
  background-color: #fff;
  width: 15px;
  height: 15px;
  border-radius: 100%;
  margin: 2px;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  position: absolute;
}

